package com.team.runsfast.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("t_address")
public class Address {
    /**地址序号*/
    @TableId(type = IdType.AUTO)
    private Long id;
    /**用户id*/
    private Long uid;
    /**姓名*/
    private String name;
    /**电话*/
    private String phone;
    /**市*/
    private String city;
    /**县、村*/
    private String country;
    /***/
    private String address;
    /**1.默认地址 2.其他地址*/
    private Integer flag;
    /***/
    private Date ctime;
}